]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
OtherUsersDialog: wrap the description label
authorGiovanni Campagna <gcampagna@src.gnome.org>
Sat, 2 Mar 2013 15:55:13 +0000 (16:55 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Sun, 3 Mar 2013 12:51:30 +0000 (13:51 +0100)
In some languages (like Italian) it doesn't fit in one line.

https://bugzilla.gnome.org/show_bug.cgi?id=695002

js/ui/userMenu.js

index 1f9696852bfd655757f696c72dab4973bfa7e672..d784e75ab663bac1138a10c67d8d19fa7dc9ad70 100644 (file)
@@ -889,6 +889,7 @@ const UserMenuButton = new Lang.Class({
 
         let descriptionLabel = new St.Label({ style_class: 'end-session-dialog-description'});
         descriptionLabel.set_text(_("Shutting down might cause them to lose unsaved work."));
+        descriptionLabel.clutter_text.line_wrap = true;
         dialog.contentLayout.add(descriptionLabel, { x_fill: true,
                                                      y_fill: true,
                                                      y_align: St.Align.START });